package com.truyen.utils;

/**
 * Represent the message type.
 * 
 * @author Hien Huynh
 */
public enum MessageType {
	SUCCESS, ERROR, WARN, INFO;

    public String toString() {
        switch(this) {
            case SUCCESS:
                return "successMessages";
            case ERROR:
                return "errorMessages";
            case WARN:
                return "warnMessages";
            case INFO:
                return "infoMessages";
            default:
                return "infoMessages";
        }
    }
}
